package com.bsdk.install.device.watermeter;

import com.alibaba.fastjson2.JSONObject;
import com.bsdk.common.core.domain.AjaxResult;

import java.time.LocalDateTime;
import java.util.Date;

public interface WaterMeterCommand {

    /**
     * 数据下发
     *
     * @return AjaxResult
     */
    AjaxResult send(JSONObject jsonObject) throws InterruptedException;
    AjaxResult Gw_get_Mqtt();
    AjaxResult Gw_set_Mqtt(String m_Devid, String m_User, String m_Pw, String m_Ip, int m_Port) ;
    AjaxResult Gw_get_Server();
    AjaxResult Gw_set_Server(String auth_url);
    AjaxResult Gw_Req_Info();
    AjaxResult Gw_set_Factory(String m_devid, String m_apikey, String m_chipID);
    AjaxResult Gw_Req_Factory();
    AjaxResult Gw_OTA_Upgrade(String str_url);
    AjaxResult Gw_Reset_System();
    AjaxResult  Gw_Set_Time();
    AjaxResult  Gw_Get_Time();
    JSONObject result(JSONObject jsonObject);
    public void prepareJasonHead();
}
